getting of grips with using ofPtr in event handling