Added compiler flags for uploads
Fixed preprocessor flags
Implements opening directly to a knowledge base article