Ok, this will do.
Swapped SDL with dynamic api, didn't make much difference though