Bug fixes and optimization

*Now the Pi Number written in the screen will wrap and do a break so it
can be shown correctly
*The code is now more optimized