Fix issues with the app, and migrate .rsrc to .rdef

For GCI task https://google-melange.appspot.com/gci/task/view/google/gci2013/6150821590859776.