Fixes a missed error condition
Trap a null map in a smarter way
Add logger and warn for dirs not created
Add logging and handling of empty map
More logging
Build fixes and cleanup
Reduce complexity of method and use proper constants
Remove unnecessary local variable
update to 0.2
permit port zero, randomish selection and look up actual port used