SDL2: some improvements to the expression.

Based on comments in the pull request from @edolstra and @peti. I also added
missing metadata, setting myself as maintainer.
Merge pull request #1179 from cpages/sdl2

SDL2: some improvements to the expression.