vps console: more work on the event loop, basically working now except for control code filtering