Fixed rendering artifacts for mouse pointer.
Fixed dragging so graphics are placed after the cursor update.
Added Button class allowing modular buttons.