Fixed OsMo plugin issues

looks strange synchronized on boolean variable?