It seems like SpaceX have had to start out by attempting the most difficult possible landing scenario (for good safety reasons).
So they did OK, considering the difficulty.
SpaceX drone platform is easier in that respect, since the rocket is landing vertically and alot of those factors are mitigated. It's still a extremely hard and complex problem to solve - it IS rocket science after all ;)
I don't know if the SpaceX vehicle is programmed to back off and wait if a big wave rocks the platform, but it could do that, wind permitting (edit: no, it couldn't, apparently, see reply by Denvercoder9). Fuel is limited, but it seems like it should be able to hover for a few seconds and wait for the platform to stabilize if necessary.
Anyway, they're not developing a sea-landing vehicle, so it's understandable if they don't spend so much time thinking about that. It's designed to land on solid ground, I think and the ground doesn't usually move, after all.
Or do they already do this?
https://twitter.com/elonmusk/status/553856479590359040