NCSA License, optimizations in AppViewController