Moved frame assignement into the block where it's used.
Show checkbox and radiobox state in hint label.