Lab4.c: removed some unneeded stuff, moved stuff around for proper initialization
shell.c: adjusted numcommands so that plotmode could be added