added debug functions to liblinuxlive
added debug_mode to magos init scripts