I think the Greek plan was to get rid of the direct IMF involvement and solitarily hang on the EU systems from now on, as they are easier to deal with than IMF (which actually knows better what it is requiring). So I don't think Greek will be leaving EU or euro any time soon, despite all the posturing from both sides. I'd welcome Grexit, but I don't think it is going to happen, with the possible exception of a military coup. The reason for this is twofold, the face saving of the euro supporting politicals and risking destabilization of the eurozone (HAH!), and seondly, making sure the NATO retains its influence within the region. Given the way Syriza has negotiated with Russia, I believe there has been quite a lot of pressure from Washington to EU (= Germany) to keep Greece on the negotiation table.
I personally believe that the only political way Grexit could happen if a large enough protest mentality takes place in Germany where it becomes clear supporting Greek packages means a financial loss and thus results in loss in the next referendum. Since this hasn't yet happened, it is likely still advantageous to keep Greece within the eurozone to bail out the banks. The second the losses become tolerable to the guilty we are likely going to see more talks about Greek separation from the euro zone. It could be approaching now, as the Grexit talk was sort of forbidden two years ago in the media, but somehow I'm still not convinced yet.
Therefore, I believe, the advantage (which is not my advantage) still lies on keeping Greece with euro and pump the package money to banks to cover their losses as much as possible.