solved the tabs getting messed up, tiles still need some more work