Fixes bug in Applications.  Misc fixes