Replace T/F

Replaced T/F with TRUE/FALSE
Restructure interactive code

Removed simpler select functions
Renamed main functions
Replaced T/F with TRUE/FALSE
Replaced X11 with dev.new