Added missing files to the project that were causing a crash