Fixes to comms and storage code

Overflow when receiving RPM bins fixed
Corrected the offset when receiving non map based variables.