Added ready signal to frontend

Added the ready signal and solved a minor issue when redrawing