Fixed quite a few bugs, up and down keys now work, clicking will now move the cursor, and added a pdf generation button in the application menu