More layer stuff, added tile preview