Added map invalidation and an "invalid map" message.