added code for loading and saving empty space element settings