Fixed many things

• Removed hacky client focus timer
• Client should now focus every time a key is sent so no data is typed
into other windows
• Made error messages clearer
• Other minor optimizations