bugfixes, better layer management, stub out tiles