Bugfix in error messaging and fixed usage message.