NSD 4.0 - unoffical patches