got a lot of stuff working, including sqlite log