plenty fixes, the main one is managing /tmp