Fixed a bunch of bugs with detecting the correct display mode and multisample mode. There appears to be some bugs left with the MSAA detection.

Changed the testproject to display the new functionality using the up and down keys..!

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>