Error handling

User errors handled smoothly now.