Code Cleaned up - tested and still stable.
Code Cleaned up 2 - tested and still stable.