Don't be discouraged by the roots coming out the mix. As Bill says, your Orchid is a Phalaenopsis and this is normal. I agree that it looks a bit dry and Bill gives good advice on repotting and the media to use.
Have a look at our sticky on these Orchids -
The thread "๐ฃ Starting out with Phals/Supermarket Orchids ๐ โ๏ธ" in
Orchids forum - to get a whole lot of information on how best to look after this type of Orchid.
Regarding the windowsill - Phalaenopsis don't like direct sun, so you may need to move your plant back a bit from the window.