Remove unused code

Removed left over code from the automagic overlayer