Comments on handleEvent
Allow buffer switching with '{' and '}'