not sure, changed mind a lot; some stuff to make work with new GUI