changed Makefile so that Tests now work.
changed small detail about mouseevents