added git instructions to README, minor changes to kmain and shell