Added ability to create cubes with the space bar.