file chooser done, working on minor bugs