Some more tweaks, should be quite ready now. Maybe some JS optimisation still needed.