Made the flashing work in the same thread as the command execution
Merge remote-tracking branch 'origin/develop' into develop