Added logic to notify Java when the native plugin loads. Fixed issue with input during load causing a fatal exception.