Enable style checks and additional warnings.

Also fix all compile time warnings.

Signed-off-by: darkestkhan <darkestkhan@gmail.com>