Cleaned up some code, worked on main form getting debug database to open.