depreciated use of st_control, modified st_mad6t_results, fixed basedir bug in loaddir