Removed global settings object. Fixes ticket #18.