Fix shebang
Change cursor and function key code
Save/restore float registers on task switch