WIP: it sort of works again

history still broken
and it prints the previous line after eval