Fixed bug in profile (profile window won't close otherwise)
Creating and Destroying databases fully functional
removed debugstuff