Use right includes directive

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix some signed/unsigned warnings

Signed-off-by: Sven Strickroth <email@cs-ware.de>