FINALLY got a new-buffer hook (kinda) working!