Added automatic version indicator.
Some rendering improvements and major refactoring

Will now show count of records inserted or updated or deleted.  Should
now show any data actually fetched even if an exception occurred.