Completion: split init function

Now there are:
- init_tree_view()
- init_main_window()
- init_info_window()
Completion: various clean-up
Completion: simplify update of info window contents
Completion: merge two callbacks as hide_completion_cb()