Added relist checkall and checkboxes

Added revised code from the 1.1.1 version.
This will clean up the code and so, it's not so messy.