[Perf] Only query gtype cache once
[Perf] Only query gtype cache once

Also, switch to Dictionary instead of hashtable.

sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp