Add getStackTraceAsString() variant that doesn't require a Throwable.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14281 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Defend against a rare null pointer exception when getting the display.

Possibly caused by trying to access the display before it is finished
initializing? We may have a race condition here.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14282 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Fix window size when operating on large (e.g. 2500x2000) images.

Previous behavior was to create a window that was 2500x600 pixels or the like.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14283 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14284 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Move several modules into the "script" package.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14285 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Improve logic for running/stopping Beanshell scripts.

Run button grays out after script starts. "Stop" button grays out when script
ends. "Stop" button label is "Interrupt" when script starts; first click sends
interrupt to execution thread and changes label to "Terminate". Second click
calls Thread.stop() on execution thread.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14286 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Fix incorrect references to ScriptPanel.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14287 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
BaumerOptronic: Fix timeout error in acquisition

Time units were incorrect in BOImplementationThread::CurrentImage(). Rename
functions and variables to prevent future errors.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14288 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
BaumerOptronic: Use correct data type for exposure

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14289 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
BaumerOptronic: Remove gratuitous conversions to short

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14290 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd