gitk: Fix two bugs reported by users
treea162666de55f7809fe78b3db3f7a18b61435a558
-rwxr-xr-x 105715 gitk