Fixed exponenting negative not working, and started implementing ncurses ui.