Fixed unicode bugs.
Fixed bug that is database disconnecting.