Windows Fixes

Windows compile error fixes for latest refactoring; some utility functions for windowing; started re-write of readme for clarity.