Fix errors and warnings.

Signed-off-by: bert <bert.timmerman@xs4all.nl>