Do learn how to wai. For Thais, the wai is everything. It's a beautiful way to greet people, to say thank you or goodbye.
Most Thais expect and accept handshakes from Westerners, but you will probably feel more at home in Thailand if you do things the Thai way and learn to wai.