Started to implement visibility and map memory.