Added statemachine rlstate. Fix qtdatabase binding