Change paper format. Bug fixes.