Minor changes on ui files and source files.

Added some dependencies to ui files so they can be edited with glade.