made the phase scheduling happen after the running transaction. more compact templates and css.