WICKET-5732 Improve component queuing and auto component

(code review with MArtin Grigorov)