Upgraded couple of libraries, fixed some bugs, added :base-dir option to configuration.