Various fixes and implementation of house rules.

Note voting is NOT tested yet!