semaphore.c: not sure anything changed here, shouldnt have
shell.c: Added commands to set plotting mode, adjusted some other plot related commands