move to Mono.Xwt Commit Nr. 1392fb54b0
refactor to match Xwt 1392fb54b0