Fixed setting the resource path in editor. Fixed the default Data resource dir possibly getting removed in the editor due to a case-sensitivity issue.