BugFix #200: Error when adding a new mark w/o any layers present

* This fixes the bug #200
* Now the user cannot delete the last layer

TODO:
  * Optionally implement clear layer feature so that user can begin
    from start without removing the layers.