Mostly this one just fixes bugs, improves stability, tweaks the hashrate calculation again (it stabilizes a lot faster now), and lays some more foundation work for further work.
Resource cleanup is significantly improved, particularly when aborting due to an error. In addition I've finally implemented some semblance of proper signal handling in both Windows and POSIX environments. These combine to finally eliminate, in my testing, the segfaults on Linux!