Moving graphics.h to windows.h and detecting unix before the library changes
Many improvements to support mac OS X