Solve compiler warnings. (Unused variables e.g.)
Throws exception when Terminal is invoked with no arguments.