What exactly has gone wrong? If the machine boots and the touchscreen works, install the latest firmware version from here;
Then go to settings > about machine > then tap on the image 5 times. This adds new icons to the touchscreen, back out and go into experiment > preference > reset all. This should factory reset the machine. If the new icons are still on the touchscreen afterwards, follow the above, but only tap the image once to remove them.