Non-NT platform specific fix-ups

* Use console print '\a' instead of winsound on non-NT platforms.
* Fix directory separators on partialpath in apikey code.
platform agnostic fix-ups

* Use system bell on non-nt systems
* Use '/' directory separators, instead of '\' on non-NT platforms
* Ignore *.log files everywhere, not just in bin
Commit a buncha changes from atomic-penguin

some were already commited, couldn't auto-merge.