Added ability to use HACKDIR for Gnome port resources.
Fixed a few warnings.
Fixed some problematic calls.