Complete UI

Added optional parameter to complete! and provided interface for it to be called (with confirmation) from the web controller.

Rebase of #117.