__main__: Use Trollius event loop policy as default. Fix debug console hang.
Allow debug console with port 0. Keep prev command in textbox.