Changed hardcoded title to change it depending on what is open. Fixes #29 or at least part of so priority can be reduced.