fixed bug with exception on close
removed bin/obj folders