If there's no associated file extension, use TextEdit
Using tabs as default since I believe it'll lead to less problems
Script Manager is now deallocated properly when document closes
Simplifying and removing logs
Have to do this in correct queue, also check if python is initialized
Log our error
Show a notification if logger window isn't visible as well