Fixed major bug in LSPI learning code. File based communication.