Fixed qreset()
Added is_prepared()