Small changes.

Probably should have committed these at the time. Mostly tests and
removing XNA detection.
Merge pull request #4 from Afr0/XNA4-attempt-400

Small changes.