Changed background rendering to pygame.draw.rect to avoid crashes
Implemented MOUSEDOWN, MOUSEUP and CLICK events and enabled RootWindow.focus.setter to handle None values