Fixed accessing closed handles
Fixed bad if, causing incoming changes in Subversion to not display properly