More error checking and verbose output.
Comments and code clean up.

Added default window attributes to window.h.
Fixed strtok changing original string by passing a copy in prompt.c.
Added a macro for verbose printing to reduce code swelling from if statements.