Clean up and apply new coding style (v0.9.4)

* Applied new coding style.
* Removed commented-out code.
* License under the terms of the MIT license (see LICENSE.txt
  file for details). This application is legally also licensed
  under CC-BY-SA 3.0 and GFDL as I previously published this
  on meta.wikimedia.org where I agreed to those terms. I hereby,
  as the sole copyright holder of this work, also release it
  under the terms of the MIT license (see attached LICENSE.txt
  file for details) and choose to, from now on, no longer
  mention the other licenses in this application.
* Fix a few minor issues during clean up, such as:
  - warning in Opera browsers now has OK/Cancel and will init
    based on the user's choice.