Added pause functionality, removed apple debugging