KTM are great bikes.
If you're wanting to buy a MTB for commuting at least get one that has rigid forks and stays, you don't need shock forks for surface streets and all they do is add weight and cost to the bike plus take more effort to pedal it.
Personally I would look into either a hybrid or a cross bike. A hybrid will have wider tires than a road bike but not as wide as MTB's, and have MTB straight handlebars which will have more of a upright riding position, whereas the Cross bike can handle wider tires then a hybrid but not as wide as a MTB, and they can handle narrower road type of tires (of course it will mean you'll need to two sets of wheels to get really narrow tires on), and drop bars instead of straight bars with more of a road bike riding position. Hybrids are not recommended for off road use but people have used them in that manner. Also the cross bike frame is typically a bit more sturdier than a hybrid or a road bike.
If you want a do all bike the Cross is ideal.