some changed
fixed some bugs, added the progress bar to the saving of a gesture