Stopped normal exceptions from being thrown, added SimpleJSON library to the source.