Some initial tidbits for the start of an OSX/Windows port.