checked in lots of partially done code from last months explorations; more to do before we can integrate it