Missing endline.
Remove some compiler warnings.
Unused label.
Wrong size format specifiers.
Fix some more compiler warnings.