some traces of preference-based tool placing
small fixes and tweaks on ui
ui tooltabs refactor
ui serialization/deserialization