Removed hard dependencies on SDL in many places.
Merge pull request #20 from surdeg/master

Removed hard dependencies on SDL in many places.