starry minimization and misc fixes
starry minimization and misc fixes