Changing directory to project root when loading main was a hypercorrection. Reverted.