Updated to latest Thug version 0.5.1