Release 4 WIP Update 1.1

- Exceptions now also get logged
- Added "write log to file" command
- Program.LogList is now cleared after the log has been written to the
file.