Added gui text input and output and OS switch

Dirent is only partially ported to windows. I created a windows load
function that has no filtering of file extensions. The function I wrote
for windows should compile and work on linux as well.
added a good test maze