Update application.cpp

Fixed typos in comments, no functional changes.