Updated main.
Bug in getCommandOutput() fixed.
First steps into a curses gui.