init: Handle commands in event queue loop

Change-Id: I679059dae43143f3c8f16b68de5694539b699e50
5 files changed