Making some small improvements and also changes to mitigate a bug in the zulutrade REST API