Fixed messy alignment of .ui. Fixed nullpointer issue when clicking checkerboard.