Fixed an issue that was causing the publish command to block until a line of stdin was read.
Added license info for LGPL v3