Added help messages to all commands, accessible via the -h option; also, fixed some features.