Modified displayed version number to look inside the lang.inc file's variable.
Added access to the Updates from the Log page.
Removed unecessary code at top of page, because thebrig can be updated easily, regardless of how many jails, or their order.

Also, carried out minor variable renaming.
Carried out major restructuring:

1. Removed goto statement - bad coding style
2. Removed reference to test.php - unecessary
3. Simplified the initialization of /tmp/ftpsen file
4. Placed the "isresource" test inside the do/while loop.