Added an example file

* Plus some output
Fixed a bug

* Opening a project while another project was open would cause an error