Made generator --pedantic GCC flag compatible/C89 compatible, fixed a bug where heartbeats where only sent to first link