Refactoring, enabled and fixed some warnings
Changing versioning scripts
forgotten stuff
merge latest kozlek/master
quiet some compiler warnings