fix bug where re-monitoring buffers fucks up parsing
Make inhibit-read-only calls as short as possible