Fixes for the installer. Display error messages on failures, as well as actually check for tables before installing.
Lets comment this rather tricky function.
Fixed some spelling typos.
Merge pull request #351 from jgen/master

Cleaning up the installer