Fixed mouse event bug.
Fixed mouse button problems.
WIP: handling NumPy arrays.