Dictionary.com
Thesaurus.com

had been goofing

  • past perfect progressive
    of goof.
    goof
    verb (used without object)
    to blunder; make an error, misjudgment, etc.