use bundleID to test for iTerm, fix session use

set the name of a new session and reuse it rather than just reusing the last session
add a bit of documentation
move iTerm commands to separate file

should fix errors for those without iTerm installed