Got most functions working except paint/select and finger gestures.