fix spectral type query
Merge remote branch 'origin/master'
added logging statements tracing a spt_array bug
get_spt is separate function, semi-kludgy solution to character at end of spt in db
only send abort emails
change nsteps, debug line for medians and errors