Cleanup

Remove unnecessary global variables (wait_cont, cur_fg)
Rewrite comments
Cleanup (file scope)
Make global variables and functions static (file-scope)
Add signal.c

Fix memory leak problem in ish.c
Cleanup (Remove debug code)

Remove debug code in ish.c