Cleaned up

Added missing semicolons etc. Changed the resize dialog function and
added check for L_Menu_BaseUrl and L_Menu_LCID