Cleaned up some debug logging
Wrong table in the alter statement

* Thanks neamiss
Merge branch 'stratum-lite'