Added a few comments
Better selectors for opening help dialogs
Moved dialog functions to main.js so they can use the same variables
Open the appropriate help dialog on level change
Noted a bug