Fixed compile errors on Windows after addition of external boost library, event handling changes and signing functionality