More Compiler Warning Solving

Gets rid of most of the warnings especially for pstdint