Revert "Added #r statements and wrapping app.Run() in STA thread"

This reverts commit 2841ad767e8d8a3d25e7826ba4bdea180cf46302.