Next bunch of bugfixes. More or less stable version with update profile feature.