#43 Break out connector.js
#43 Break out injector.js and main.css
#43 Various bugfixes and cleanup