Don't allow updating when already updating or when a print is running.

Also added a confirmation dialog.