Explicitly pass WindowRef instead of MonadReader Window instance for BufferM.
Remove upper bound on alex version.