added CFG=debug option to Makefile, fixed minor bug with Room