Rewrote terminal synchronization and added a pda item