Fix warnings about unused parameters thanks to UNUSED macro defined in gui.h