made the threading a bit neater. translations are still horrible though.