Ported to Linux. It compiles and basics seem to be working.