Fixes a bunch of segfaults when you crash and burn!

Double free on thrown exception... FIXED!
Unclean exit on sigint... FIXED!
Functions that sc and lb shouldn't have had... REMOVED!
Scope in Posixmain... MORE SENSIBLE.