Fixed various warnings

In modules/instruments.h and main.c
Strange audio glitches remain