A quick update, seeing as I haven't posted for a month.
I've completed the port to sdl, and replaced all direct usage of the windows api with portable replacements. On windows it works fine. (Within my limited testing...) It also compiles cleanly on linux, (x86 only, atm,) with a few issues...