That probably comes from your application leaving events in it's message pipe for those 4 minutes. If you're not reading the whole file in a single statement (and I certainly hope you aren't), you should put some $mainwindow->update calls in there.
Having them there will make it easier to add the status bar, anyway.