Fix warnings/errors detected with SublimeLinter

The only *real* bug is the missing `global plugin_settings` in `start_server()`.