Fixed conversion from/to satoshis
Fixed many typos and protocol errors