fixed pibot controller, TODO: comment, fix load_settings