Fix #42 - caching the main renderer