Improve prepared statement run

* Don't convert every column to a char
* Fix warnings