added more verbose crash output. reimplemented setup_arch_memory(). various fixes