Automatically destroy terminal when last program closes it.
Fixed bug where terminal pointers were not copied correctly when terminal was destroyed.
Set "SPAWN" environment variable on boot.
Allow userspace to specify which program is run in new terminal.