At some point it looks like avrbl_run() in pic32bootloaderusb.c was re factored and a couple of vars were missed One var was missed on the issue 4 update. You renamed loops to gLoops but not active to gActive.