ENH: Change window title when fetching data

Set the title of the window to "Keystats (loading ...)" whenever the
application is logging information and change it back to "Keystats" once
we are done loading data.
ENH: Add upper bound to queries