Fix image display so the thumbnails are thumbnail-sized
Fix issues with record dirty reporting

* Tab shouldn't mark a record dirty
* Only ask for confirmation when a record has changed
* Highlight save button when record type is changed
Prefer preventDefault() to return false
Clear upload image dialog after uploading image
Don't show "Search" controls on main page on private installations
Don't show "Search" controls on main page on private installations