KotOR Tool also will compile your scripts just fine. If you use the text editor in KT, simply select "Script" from your top options bar (it is furthest left) and select which game the script you are making is for, K1 or TSL. This then prompts KT to know which version of compiler to use and allows for the differences in the two scripting "dialects". This should be the first thing you do when using the KT Text Editor.
Myself, I write in notepad, then copy and paste into KT, then compile. Not sure why, I guess I like having external control of the file so that if something goes wonky in the KT editor I still have a backup.
As to your first question... a screen will probably be your best bet at identifying your uti. Post one if you can.
Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa