Hopefully fix deadlock situation when starting up new Shell.
Calculate output height more efficiently.
Change NSLog to syslog before starting up Shell.
Disable rich text in the command input textbox.