main page + other fixes