Update class.incognito.plugin.php

First working version. Needs code cleanup and commenting. Also implementation of new permissions