initial commit of UI checkbox
added little fixes and cleaned up