Compatibility changes

Basically, the actual SQL stuff breaks my compiler, so I'm currently not
using it. Thats why I commneted it out of main, pending a miracle