Respect CFLAGS in Makefile
Add debugging macros
Install signal handlers for SIGTERM and SIGINT
Make GetIdleTimeMS leaner

We don't need to allocate XScreenSaverInfo and do XOpenDisplay every
time we want to poll for idle time. Do those things once at app Init()
time and clean up only once at app Cleanup().