Anyone familiar with real estate law ?

The "paying the agent" and "not paying the agent" is sketchy.

So the seller is not using an agent I take it?

Based upon the counter offer post-appraisal the seller can walk and does not have to negotiate further..so no, not locked in.

As @Slowswinger mentioned...I hope the contract gets you your cash back