WIP Add CSQ

Save and view CSQ

Fix JS error on no csq database found