I've spent the last few hours trying to debug my application, it seems like its using much more CPU than it should. I believe this is a problem with my lack of understanding on how to properly use threads in C# .NET. Just starting the application and sitting at the main window (with nothing really going on) the CPU usage idles between 2-6%. If anyone could review my program (its small) I would greatly appreciate it, also if you spot any other problems or have any advice on how to improve certain operations I would be grateful.
I create two threads, one in MainWindow.xaml.cs MainWindow() and one in App.xaml.cs Init() and dispatch jobs to them throughout the application. The application thread is a background thread, and the UI thread is a foreground thread
source code: https://bitbucket.org/looter/rcon-project/src