Error handling in GM flags editor