VM not completely reinitialized when restarting applets