Important bugfixes: Fixed SIGSEGV, "unimplemented" errors etc.