What was the deal with Baltar and Gaeta at the end? Was it merely meant to show Gaeta was finally at peace now that he is going to die, or were they hinting at more?
I think it was Gaeta's final meal given to him before execution.
He probably asked for a smoke and some company, which he was given. And he and Baltar have a complicated history - that ranged from hero worship to outright hatred thanks to New Caprica. So it was interesting to see them having a final conversation - really very well written.
And yeah, I think Gaeta was happy to die - he's been so bloody miserable since he lost his leg I think he's glad to see it all end.