Remove layers before loading new context
First for writing context.
Context written from map. Only general for now.
Now with layers