More optimizations

Optimized NetworkHandler
Some syntax... fixes... yea