Efficiency Improvement

Removed busy waiting loop. No longer takes ~100% CPU.