fix gui sketch, add time cost caculation for sketch and align