Fixed issues in console view

Console view would not accept more than 1 input. That is now fixed.
subprocess_execute function has also been changed to return a file
descriptor (int) rather than a FILE*. Finally, keyboard no longer
blocks the console view.