add init widgets functions
Merge branch 'vs' of https://github.com/CarnationTL/cmd_sim into vs