Added application render method to fix messup with privatising
generateAndDrawImage.