more whacking away at awful byte manipulation... also some planning stuff in comments for RouterNode