Re-add needed module imports

These modules are required when the UI is loaded by GtkBuilder

Reverts part of
  2962fb382337d330f26255a04075f90cc9602770 "Remove unused module imports"
Use get_iter_first instead of get_item_root

Both of them did the same, but only get_iter_first is present in
gtk3.