Fixed verification bug. Inputs are now signed with the transaction hash. Gracefully handle server/client shutdowns.
Merge fixes