added open_dir() to Shell adaptor + small bugfix