Modify function to display structures
The current function used to display chemical structures gives error messages before an input compound is selected and also for inorganic compounds. (eg. water) We need to explore some other functions for displaying chemical structures which could prevent this error.