moved stuff from jack.h to jack.c (no others users)