Merge branch 'hotfix-0.4.0'
code style
add events
fix action's leave and sleep
release 0.4.2
add refresh process
code style
Merge branch 'hotfix/0.4.1' into develop

Conflicts:
	src/main.js