Removed SDL dependency from a bunch of files