Using the paranoid pirate pattern, client needs work still though
Prevent client from crashing