attempts at GUI fixes, plus fixing the crashing