fixed bug with multiple custom overlays of the same type

also some minor random meaningless tweaks