Exploring application; converted some tabs to spaces; fixed some missing ;'s.