Started implementing folder choosing dialog. Also some minor refactoring, and release