Some minor changes after debugging.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>