Automatically end marking mode after placing a marker, fixes #11
Automatically end marking mode when you no longer have permission to mark, fixes #10