misc cleanup, sys platform check
Merge pull request #8 from fnordbg/Dev

misc cleanup, sys platform check