Cleans up frontend