Updated BSJava and BSService to better handle reload.