Added player health slider, lots of optimizations and bug fixes