- use same whitespace style throughout and fix some indents. - change from minetest. to core. namespace.