Fixed up editdbinfo

Added some basic validation and cleaned up the user interface.