Logic fix and updated close script

fixed subtract bug in demo 2
fixed bug with Close Dev Scripts where like wasn't working and title
wasn't displaying on close

added pack command for demo 2