main: turned all compiler warnings on and fixed them.
main: machines, controllers and CPUs don't require init/deinit routines anymore.
main: added missing static function declarations.