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 - which this fixes.
Merge pull request #272 from hjoliver/no-X-display-for-help

Moved some gtk imports down to avoid display errors.