added permission handling, added makefile path finding, fixed tmux window naming