Made CPU trigger VBLANK and used a threading.Event to trigger new frame draw. Fixes #1.