initial commit
fix blind during first move bug

  * add capability to rerun template helper pieceAt when switching board
    controllers
  * also, make template variables file-scoped.