Makefile typos
annihilated main.h
fixed err module prefixes
err - added null helper
window - init
window - destroy