Display progress in window. fixes #1