make working with mingw, added few more fields to world, fixed some
prototypes