ajaxify task completion. fix #7

also smart reloading to ensure correct content of sidebar