Bugfix: Code completion is now disabled while before a context action is executed

Improved: Background data dictionary population task is cancelled when
application is about to close