Added Alt-F1 shortcut for the first text console.
Various IDE fixes to improve stability.