Just for the sake of balance I should say that the Thailand some people describe isn't one that I really recognize.
I've been living here for 3ish years and never particularly had a problem and don't know anyone who has had one. In terms of being attacked then Bangkok feels safer than a big city in the UK to me. Have been out at the pubs and clubs many times and not seen any trouble (and seen plenty of trouble in the UK on nights out). The things you should do for safety (avoid very drunk people with that look in their eye, always try to get in moving taxis) are common sense.
I've been to plenty of the beaches on the mainland and on the islands and generally the point is that Thai and Western people like to do different things on beaches. Thais generally like beaches with sun loungers and parasols and they'll eat and drink and often not go into the water. In that case most will not be wearing swimwear. On these kinds of beaches it would be strange to wear a small bikini. Western people like to lie on the beach and sunbathe (which is difficult if there are loungers and parasols everywhere) so they go to different beaches. On these beaches wearing a bikini would be fine and I've not noticed anyone getting any unwanted attention. Actually, on the beaches around Krabi some (western) women go topless despite the fact that this is supposed to be taboo in Thailand and they are just left alone.
Where Thailand is more dangerous is in case of accidents... Motorbikes on the pavement to dodge out of the way of... Motorbikes being hit by cars (seen this and the immediate aftermath of this quite a few times). To me this is where the real danger of Thailand lies.
Anyway, just another perspective. Good luck in your search for jobs!