Various changes

need to find out crash reason. No dmesg (magldr).