Bugfixed and beautyfied changegroupAction() and relating template and other things