better gui scaling and bugfixes