more adjustments/fixes to windows GL initialization code
made better checks when shutting down graphics subsystem
added GL subsystem prototypes
made glew compile with static CRT