Small fixes.
IApplication simplification