Completion interface

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