Fixed printf stuff and made stack tables.