The printed messages of var_main now have individual output levels of which the visibility can be controlled through a log_level parameter. Shortened output of av_state.