visual studio 2013 community makes me independend from BP Studio version

also minor fixes if non valid profil exists