broadcast doctype and new database version warning
very incomplete implementation of betting (broken matching; no settling)