add orientation support to InterfaceThread
update default settings in main
gather default settings and user limits into a common header