Draw/erase with left/right mouse buttons
Exit properly on window close