ok this works, needs clean up
ok not quite there... no left click segfaults
ok works on Mac