Less g_ctx reference.
Use page.ctx for latest ctx.
Chained findObj/filterObjs().
Chained findObj() checks deleted shadows.
Handle deleted shadowing during findObj/filterObjs().
Added editTemplate to class-type.