Got all checkbox functionality working and it was a pain in my ass