[gui] clean commented code and add new widget