add basic tgui ui elements
merge bugfixes