Progress in Shell Bug

Starting to figure out whats wrong, still don’t know how to fix it.