Start of Incremental Builds. Fixed bug in NewResourceHandlers whereby new resource Editor was not closed when resource deleted