Small fixes
Remove some unused code
Merge pull request #94 from gorlanwix/Feature-MinorFixes

Small fixes
Checks if settings are run from inside editor
merge with latest master
Merge pull request #95 from andreywix/Feature-Security

Feature: Security