Added function call to load nodes if there is no new content.
Added initial check for content. More refactoring.