more progress

almost done, still very buggy
need to make sure calling vim and emacs and gdb work
need to fix print timing
need to fix updating of jobs