Added a few POSIX definitions so it can compile with MinGW & PDCurses, and added command line parameters for colors.

Added a few POSIX definitions so it can compile with MinGW & PDCurses, and added command line parameters for colors.