Improved interactive and functional programming for Quil