NOT FINISHED: Modify widget draw to support groups.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>