Move channel_count to top-level reader state record
Decrement channel counter when handling channel.close
Rename ChState back to AState

for assembler state.
Decrement channel counter here, too
Compile
Init channel_count correctly
Nuke some unnecessary code
Decrement channel_count in channel_cleanup
If channel pid is not in the process dict, don't decrement channel_count
cosmetic: consistent field ordering (with start_connection code)
refactor: simplify and reduce distance to 'default'
correct handling of channel_cleanup return value
plus some cosmetics in the area
correctly thread through the state
simplify (and stay below column limit)
cosmetic: correct spacing, eliminate spurious diff to default
refactor: simplify & consistency
refactor: simplify and reduce distance to 'default'
correct return value
refactor: two heads are better than one
refactor: remove superfluous code