Option to show console with global context after script execution
Extract saving of main module to utils.
Add frame utils.
Remove unused field.
Merge pull request #14 from traff/development

I've fixed the wrong module and cleaned up the code, so merging it in.