Fixed minor issues concerning debug settings