Removed acceptableMaxFilterLength param

Not very usefull now, plugin API is more
compact without it.
Fixed z-index issue in darkening func code