removed all references to toggletilelayer
removed some references to addtilelayer