implemented the restart() method and added to debug UI
updated ugly package