Fix previous commit: move removing of Appliaction.future code to a later point.
Fix previous commit: move removing of Appliaction.future code to a later point.

The future still needs to be set at the point where the application draws it's
final layout before quitting. Otherwise `Application.is_done` will report an
incorrect value.

jonathanslenders/python-prompt-toolkit