more infinite-proofing
window function added to lab api
settings load fix