Fixing some bugs. Option for disabling pos-effects added. [on behalf of Vito Cucek]