Added window height/width constant and implementation, made layer meta, added tile updating system.