Tidy up code

Tidy up code
Fix analog invert check

Fixing bitread call for analoginvert, missing an (, ), and =
Merge pull request #8 from Enigmatheatre/Dynamic-Server-IP

Dynamic server ip / fix Analogue Invert