minor and major improvements in frontend