Fixing some bugs with undefined items
More work on implementing list functionality and making the modal dialog more flexible
Fixing the bugs which were causing a blank page to appear. Also fixing a bug where no messages would appear in the status window. Closes #38 and #9