Changed a couple things so it would compile on my end.

I had to delete three files to get it to compile (wrongfiledialogue),
and comment out the code including those files and one call to an object
of that class. The program is running perfect on my end.