Fix autosave never save stuff because the image is too busy
Now the strategy is the following:
- Wait default time period for autosave
- Check if the image is busy
- If the image is not busy, just save :)
- If the image is busy, do three tries with emergency interval (10 ms each). If all the tries are failed, post a background stroke which will run after the current stroke and initiate the autosave.