fixed minor issues and finished implementation of sigsend