General cleanup and refactoring, added popup

This extension works significantly better as a popup, I think in the
future it would be nice to have an option to "pop out" of Chrome and
work more like a traditional application.