remove deadcode in /checkTermup and /checkLogUp api callback. changed term up check to a more simple echo test. added comments.
fix typo
removed unused var
fixed syntax. changed logUpCheck to use simple check. added comments
remove useless bind
fix PROMPT_COMMAND
add tail alive check
Merge pull request #25 from Runnable/B_swabTheDeck

Kill tail during cleanup and clean up and add comments
maur fixing