Fixed couple of bugs in smart page transition queue implementation.
Also added timeout protection to avoid complete hanging of application when some transition never completes.