cleaned up the generator UI
use session instead of reactive var for live code
added textarea for init code