Reworked checkbox handling + checkbox checking implemented.