Buttons respond to input & Unit cell option

'chooseButtons' selects which buttons display on the main page depending on properties of the input; periodic connections are searched for, and boundary type and camera options are displayed if they are found.

'drawCell' enables the user to choose if the boundaries of a crystalline unit cell should be displayed by selecting it from the 'boundary-type' drop-down.