Merge pull request #13 from Sorunome/Cleanup

Cleanup
removed some inline JS
basic logging
stuff
merge
fixed the tab thingy stuff
slight cleanup.