Setup window, versioning, and bug fixes

- Added setup window. Now you don't need to manually edit users.txt
- Fixed permissions bugs
- Fixed image detail bugs
- Added Versioning