Fixed playing a double looped sound
Fixed drawing of the resize triangle
Optimized screen output. Reduced CPU usage.