Changed how it calculates stopped blocks

Adding a new block is not working.
Fixed Yellow and orange colors.
Properly implemented moveBegin flag.