Avoid accessing a layer if it is not created.
Massive removal of pluginlib.

This is probably not needed, but I was having complex problems that led
me to just remove pluginlib from EVERYWHERE.