Implemented invalidate and cleanup of bounds for scene::lines.  Small tweaks to scene::dirty to include setDirty callback function.