Fixed markUnmarkNSWF method

Fixed markUnmarkNSWF method: the submissions take a while to refresh, so the execution has to be paused with Thread.sleep.

Fixes #37 build error