fixed floortile leak
Small bugfixes
cleanup fix