Current sensor works well. Various bugfixes.