TOC doesn't break anymore on non existing applayer
Viewercontroller doesn't break anymore on non existing applayer. Fixes #107