making variable declarations in dwm.h extern, this seems to be more ansi compliant