added a graceful exit with error message if port is already in use
introduced help parameter + invalid parameter handling