formatted main.js
added accessor for extension's enabled state
remember whether Theseus is enabled as a preference
choose whether to use static or Rails middleware based on menu item selection
instead of referring to "Rails" in the code, refer to the proxying middleware as "middleware-proxy"
make menu items for modes have shorter names
add menu items with a loop instead of hard-coding them