Fixed new page button handler so it does not do anything when the user cancels.
Created missing image upload directory structure.
Truncated data logs.