fix newline
fix diminish modes
move python environments to private
disable lexical binding