Moved some gtk imports down to avoid display errors.

Running 'make' on a remote post-commit hook failed with "can't open
display" errors from a few commands (when generating command help transcripts) - which this fixes.