Bug fixes and feature completion

Fixed a couple of minor bugs and added a list option
to the config subparser.