error 500 fixed
Stats counter added.
Big commit