use a hash-table to cache gui properties