Singleton did not have virtual deconstructor. Console registers commandhandlers earlier
Fixed commandhandler remove function
Added removecommandlistener to destructors