add ability to query window min/max state

This implements #80