Some visual bugs fixed. Absolute paths in portal.php