Fixed some minor errors, added FileChooser