Added debugging capabilities to Makefile
Bug fixes, added mouse grab