fixing an issue where active_view().settings() is not available in __init__
Merge pull request #3 from spcoder/master

issue fix for active_view().settings() in __init__