window width/height and px size now variables, not preprocessor macros
suppressed some warnings. width/height/px size now configurable with flags. exit if malloc fails