As you see, there are several options. Meaning that this functionality really should be incorporated into the OS.
As for myself, I use WISBar Advance. It lets you tap-n-hold to select close or minimize, I think. Mainly I just set default behavior for different programs. In other words, I have it close instead of minimize EXCEPT for certain programs, among them Pocket Informant.