reduce octave, reformat debug style, make debugs compile conditional