have app trigger a 'main:ready' event on show

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
replace timeout by waiting on 'main:ready'

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
Merge remote-tracking branch 'upstream/dev-0.3' into dev-0.3