Gimp: fixing minor bugs