chat.php, lines 44-49:
Code:
$header = "<html><head>".
"<embed src=\"sound.wav\" width=2 height=0 autostart=true loop=false> <noembed> <bgsound src=\"sound.wav\" loop=none> </noembed>\n";
"<meta http-equiv=\"pragma\" content=\"no-cache\">".
"<meta http-equiv=\"refresh\" CONTENT=\"15\">".
"<meta name=\"robots\" content=\"noindex\"></head>".
"<body bgcolor=\"#3399ff\" text=\"#ffffff\"><p>".
That semicolon should be at the end of the string, not in the middle 
To change the number of stored posts, with regards to a question asked in the chat room itself, find "40" in chat.php:20, and set it to the desired number.
3) is trickier, technically and culturally. If you look at the source, you'll see that the "logged-in" message is just a normal blank message. You could use something like this (chat.php:43):
Code:
$new_message = "<font color=\"$myfont\">$chathandle" . ($message ? " - $message" : "-san has logged in.") . "<p>\n </font>";
Also, san might not always be appropriate.
4) chat.php:112:
Code:
</form><form method="post" action="$self_post"><input type="hidden" name="logout" value="true"><input type="hidden" name="chathandle" value="$chathandle"><input type="hidden" name="myfont" value="$myfont"><input type="submit" value="Log out"></form>
chat.php:43:
Code:
$new_message = "<font color=\"$myfont\">$chathandle" . ($message ? " - $message" : (isset($_POST['logout']) ? "-san has logged out." : "-san has logged in.")) . "<p>\n </font>";
chat.php, under line 62:
Code:
if(isset($_POST['logout'])) header("Location: http://japantown.awardspace.com/");
6) Looks pretty centred to me.
7) Remove chat.php:45.
Bookmarks