working. tidied. funny non-fatal error when running config.ru, needs looking at.