Sort headers, disable vsync
Fixed warnings
Fixed warnings
Fixed warnings
Separated prodbg code into libs

This is to make it easier to do separated unit-tests for core/ui/api/etc