Fixed some race condition issues

Resolves some blinking and some chunk errors.  Also wore out the L,O,C,K
keys on my keyboard?