JProxy: fixes and improvements