Fixed not detecting resource files appropriately by enforcing working directory to the program's folder