use proper enums + atomic variable for render synchronisation
forgot to actually initialise mPath, so nothing was being removed from cache