libraries: new quiet/verbose approach and misc cleanup + fixes