Refactored gateeMenu.c, modified how exit system call functions.