Various cleanups and fixes

* Avoid "Warning: Not a valid stream resource" notices
* Close process handles when the finish even if no slot is open
* Use notice() for process close messages
* Removed some newlines from messages
* Also added a --help flag

Change-Id: Idfd77c5a0ccf2921f312ee0e19136ba7e6bd4c6d