Add settings dialog.
clean up many comments.
Extract Board as a separate object.
Clean up init/reset logic.
Fix end of game behavior.
Misc comments.
Clean up obsolete code.
Add collectible treasures and scoring logic.
Cleanup comments in engine.js.
Cleanup obsolete code in engine.js
Update comments.
Break out classes into individual script files.
Code style cleanups - mostly changing constant names to look like constants.
Cleanup for push to git hub.