Clarified architecture file
Added a bit of error checking to kernel