reorder bits and fix timing
simple tetster
fixed everything
added event display