44fbe19 Added radix to parseInt calls, refactored messageHeader