Fixes

Some fixes and hooks on scenes.
Protocol queue

Protocol queueing.
Fixes on protocol stream

Fixed some wrong checks on protocol processing.