Removed some trailing spaces.
Added a workaround for selecting a parent folder for student folders.
Cleaned up a bit in the dev file.