Real-time interlining

This pull request makes PatternInterlineDwell compatible with real-time updates.