please fix the indentation on these lines.  And have you double checked that monitorTagVisibility has the same API as monitorChildVisiblity? I thought there were some differences... but haven't used it myself.