Increase size limit for TTY names; fix free() of stack-allocated structure

- Recent Linux distributions use persistent device names like
  /dev/serial/by-id/... which exceed the 40 character limit for TTY
  names and the 80 character line length limit for the rcfile. Increase
  both limits to 1024.
- The sensor_list struct is a local variable in main(); don't free it!